    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>Document</title>
    </head>
    <body>
        <script>
            // for (let i=1;i<=100;i++){
            //     document.write(i);
            // }
        //     let num=0
        //     for (let j=1;j<=100;j++){
        //         if(j%2==0){
        //             num=num+j    
                   
        //         }
        //     }
        //      document.write(num )
        // let str = ["马超","关羽","赵云","张飞","黄忠"]
        // for (let i=0;i<str.length;i++){
        //     document.write(str[i])
        // }
        let hang=+prompt('请输入行数')
        let lie=+prompt('请输入列数')
        for (let i=1;i<=hang;i++){
            for (let j=1;j<=lie;j++){
                document.write('*')

            }
            document.write('<br>')
        }
        </script>
    </body>
    </html>